import express from "express";
var bodyParser = require("body-parser");
var routes = require("./routes");
var app = express();
app.use(bodyParser.json({ limit: "1mb" }));
app.use(
  bodyParser.urlencoded({
    extended: true,
  })
);
routes(app);
var server = app.listen(4000, function () {
  var host = server.address().address;
  var port = server.address().port;
  console.log("rrd mock", host, port);
});
